package com.qf.config;

import com.qf.controller.TestController;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.function.server.RequestPredicates;
import org.springframework.web.reactive.function.server.RouterFunction;
import org.springframework.web.reactive.function.server.RouterFunctions;
import org.springframework.web.reactive.function.server.ServerResponse;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/22 17:01
 */
//@Configuration
public class WebConfig {
//    RouterFunction 路由处理
//    public RouterFunction<ServerResponse> routerFunction(){
//        return RouterFunctions.route(RequestPredicates.GET("/users"), TestController::findAllUsers)
//    }
}
